//
//  ResultForSearchTableViewCell.m
//  网络FM
//
//  Created by dlios on 15/5/25.
//  Copyright (c) 2015年 dengzhicheng.com. All rights reserved.
//

#import "ResultForSearchTableViewCell.h"

@implementation ResultForSearchTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}



- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
        self  = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
        if (self) {
            [self createMyResult];
        }
        return self;
    
}
- (void)createMyResult
{
    UIImageView *view = [[UIImageView alloc]initWithFrame:CGRectMake(10, 10, 20, 20)];
    [view setImage:[UIImage imageNamed:@"font-erji.png"]];
    
    [self addSubview:view];
    

    self.title = [[UILabel alloc]initWithFrame:CGRectMake(30, 8, 250, 40)];
    [self addSubview:self.title];
}


@end
